﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NeuralNetworkComponents
{
    public interface IActivationFunction
    {
        /// <summary>
        /// F
        /// </summary>
        /// <param name="x">Function argument</param>
        /// <returns>F(x)</returns>
        double Function(double x);
        /// <summary>
        /// F'
        /// </summary>
        /// <param name="x">Function argument</param>
        /// <returns>F'(x)</returns>
        double Derivative(double x);

        double Derivative2(double x);
    }
}
